import net.coobird.thumbnailator.Thumbnails;

import java.io.File;
import java.io.IOException;

/**
 * Created by jiangzeyin on 2017/7/11.
 */
public class img {
    public static void main(String[] a) throws IOException {
        File file = new File("/69669183.jpg");
        //System.out.println(getImageType(file));
        File file1 = new File("/s.jpg");
        Thumbnails.of(file).scale(1f).outputQuality(0.25f).toFile(file1);
    }


}
